package mythread.demo001;

public class MyThread14_2   {

    synchronized  public void printST(){
        System.out.println("begin");
        if(Thread.currentThread().getName().equals("a")){
            System.out.println("永远被用");
            Thread.currentThread().suspend();
        }
        System.out.println("end");

    }

}
